package com.zk.nakedfowl.basicData.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="sales_terminal")
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
public class Terminal implements Serializable{

	@Id
	private String id;//

	private String number;
	private String name;
	private String addr;
	private String responsiblePerson;
	private String mobile;
	private String email;
	private String create_by;
	private String create_date;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getResponsiblePerson() {
		return responsiblePerson;
	}

	public void setResponsiblePerson(String responsiblePerson) {
		this.responsiblePerson = responsiblePerson;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCreate_by() {
		return create_by;
	}

	public void setCreate_by(String create_by) {
		this.create_by = create_by;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	@Override
	public String toString() {
		return "Terminal{" +
				"id='" + id + '\'' +
				", number='" + number + '\'' +
				", name='" + name + '\'' +
				", addr='" + addr + '\'' +
				", responsiblePerson='" + responsiblePerson + '\'' +
				", mobile='" + mobile + '\'' +
				", email='" + email + '\'' +
				", create_by='" + create_by + '\'' +
				", create_date='" + create_date + '\'' +
				'}';
	}
}
